package com.jf.cloud.live.constant;


/**
 * 常量
 * @author yami
 */
public class LiveConstant {

    /** 超级管理员ID */
    public static final int SUPER_ADMIN_ID = 1;
    /**
     * http
     */
    public static final String HTTP = "http";
    /**
     * WEBP
     */
    public static final String WEBP = "webp";
    /**
     * errcode
     */
    public static final String ERROR_CODE = "errcode";
    /**
     * 微信返回错误码
     */
    public static final Integer WECHAT_NAME_LENGTH_ERROR = 300002;
    /**
     * 微信返回错误码
     */
    public static final Integer WECHAT_CHECK = 300036;
    /**
     * 微信返回错误码,直播间封面图不合规
     */
    public static final Integer ROOM_COVER_IMAGE_ERROR = 300031;
    /**
     * 微信返回错误码,商品图片尺寸过大
     */
    public static final Integer WECHAT_PRODUCT_PICTURE_TOO_LARGE = 300018;
    /**
     * 微信返回错误码,未在小程序管理后台配置客服
     */
    public static final Integer WECHAT_NO_CS_CHECK = 300038;
    /**
     * 微信直播间商品名称最小长度
     */
    public static final Integer PROD_NAME_MIN_LENGTH = 6;
    /**
     * 微信直播间商品名称最大长度
     */
    public static final Integer PROD_NAME_MAX_LENGTH = 28;
    /**
     * 微信直播间名称最小长度
     */
    public static final Integer ROOM_NAME_MIN_LENGTH = 6;
    /**
     * 微信直播间名称最大长度
     */
    public static final Integer ROOM_NAME_MAX_LENGTH = 34;
    /**
     * 微信直播间主播名称最小长度
     */
    public static final Integer USER_NAME_MIN_LENGTH = 4;
    /**
     * 微信直播间主播名称最大长度
     */
    public static final Integer USER_NAME_MAX_LENGTH = 30;
}
